]> dgit.raspbian.org Git - gnome-shell.git/commit
timeLimitsManager: Rename function updating state machine
authorIgnacy Kuchciński <ignacykuchcinski@gnome.org>
Mon, 27 Oct 2025 23:53:41 +0000 (00:53 +0100)
committerIgnacy Kuchciński <ignacykuchcinski@gnome.org>
Wed, 5 Nov 2025 14:22:12 +0000 (15:22 +0100)
commit2dee27d8dd15825e12df810702ec8ba19e1174ca
treecce214acd7ec4f8d3f7eee557b824529c471f007
parent5b693f01a3a7823b46297c55dbb1e4bac8321b36
timeLimitsManager: Rename function updating state machine

Rename _updateSettings function to _updateStateMachine, since that's
what the function actually does, starting or stopping the machine
depending on the 'history-enabled' GSetting. Moreover, in the future
we'll take into account parental controls settings too, so renaming the
function to be more generic will avoid confusion later on.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3841>
js/misc/timeLimitsManager.js